
#include "user_handler.h"
#include "root_handler.h"

int main(int argc, char* argv[])
{
  Handler* f_h = new UserHandler(new RootHandler());
  //Handler* s_h = new RootHandler();
  //f_h->SetNextHandler(s_h);
  f_h->Process(Role::ROOT);
  f_h->Process(Role::USER);
  f_h->Process(Role::OTHER);
  delete f_h;
  return 0;
}